package SOSO;

import lombok.Data;

@Data
public class SuperPackage extends ServicePackage implements SendService,NetService,CallService{
    private int talkTime;
    private int smsCount;
    private double flow;

    public SuperPackage() {
        this.talkTime = 200;
        this.smsCount = 50;
        this.flow = 1*1024;
        this.price = 75.0;
    }

    @Override
    public int call(int minCount, MobileCard card) {
        return 0;
    }

    @Override
    public double netPlay(double flow, MobileCard card) {
        return 0;
    }

    @Override
    public int send(int count, MobileCard card) {
        return 0;
    }

    @Override
    public void showInfo() {
        System.out.println("超人套餐：通话时长为"+talkTime+"分钟/月，短信条数为"+smsCount+"条/月，上网流量为"+flow/1024+"G/月");
    }
}
